package research_team.client.generated.business;

import java.util.*;
import research_team.client.notgenerated.eventFramework.PropertyChangeSupport;

/**
* TODO javadoc
*/
public class Partner   {

	private String name;
	private String country;
	private String category;
	private Collection<Collaboration> collaboration;
	private PropertyChangeSupport<String> propertychangesupportname;
	private PropertyChangeSupport<String> propertychangesupportcountry;
	private PropertyChangeSupport<String> propertychangesupportcategory;
	public void setPropertychangesupportname(PropertyChangeSupport<String> propertychangesupportname) {
		this.propertychangesupportname = propertychangesupportname;
	}
	public void setPropertychangesupportcountry(PropertyChangeSupport<String> propertychangesupportcountry) {
		this.propertychangesupportcountry = propertychangesupportcountry;
	}
	public void setPropertychangesupportcategory(PropertyChangeSupport<String> propertychangesupportcategory) {
		this.propertychangesupportcategory = propertychangesupportcategory;
	}
 
	public String get_name() {
		return name;
	}

	public void set_name(String name) {
		if(propertychangesupportname!=null) {
			propertychangesupportname.firePropertyChange(this.name, name);
		}
		System.err.println(name);
		
		this.name = name;
	}

	public String get_country() {
		return country;
	}

	public void set_country(String country) {
		if(propertychangesupportcountry!=null) {
			propertychangesupportcountry.firePropertyChange(this.country, country);
		}
		System.err.println(country);
		
		this.country = country;
	}

	public String get_category() {
		return category;
	}

	public void set_category(String category) {
		if(propertychangesupportcategory!=null) {
			propertychangesupportcategory.firePropertyChange(this.category, category);
		}
		System.err.println(category);
		
		this.category = category;
	}


}